package com.project.yuepai.dao;

import com.project.yuepai.dto.OrderDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderMapper {

    List<OrderDto> findAgreeOrders(@Param("activeUserRole") Integer activeUserRole,@Param("activeNickName") String activeNickName,@Param("activePhone") String activePhone,
                                   @Param("invitedUserRole") Integer invitedUserRole,@Param("invitedNickName") String invitedNickName,@Param("invitedPhone") String invitedPhone);

}
